package org.gcb.core;

import java.util.ArrayList;
import org.gcb.core.model.Armor;
import org.gcb.core.model.EArmorSlot;
import org.gcb.core.model.Item;
import org.gcb.core.model.Toon;

/**
 *
 * @author Jason
 */
public class SampleCollection extends ArrayList<Toon>{

    public SampleCollection() {
        Toon a = new Toon("Joe");
        Armor chestArmor = SampleArmor.instance().get("Plate");
        Armor shieldArmor = SampleArmor.instance().get("Heavy Shield");
        a.getEquipment().getWorn().put(EArmorSlot.ARMOR, chestArmor);
        a.getEquipment().getWorn().put(EArmorSlot.ARMS, shieldArmor);
        a.getEquipment().getCarried().add(new Item(null, "Candle", "To see at night", 5.2));
        a.getEquipment().getCarried().add(new Item(null, "Shovel", "When a sword just won't do.", 10.0));
        a.getEquipment().getCarried().add(new Item(null, "Rock", "He's been your friend for a very long time.", 30.32));
        add(a);
        Toon b = new Toon("Sammy");
        b.getEquipment().getCarried().addAll(SampleArmor.instance().values());
        add(b);
        add(new Toon("Sung' toy' ya"));
        add(new Toon("Flick", 2, 9));
        add(new Toon("Timmy", 5, 3));
    }
}
